package com.zhenghaijin.pojo;

public class RecommendationPOJO {
    private String id;
    private String userId;       // 用户ID
    private String animeId;      // 推荐的动漫ID
    private double score;        // 推荐评分（如 0.9 表示高匹配度）

    public RecommendationPOJO() {}

    public RecommendationPOJO(String id, String userId, String animeId, double score) {
        this.id = id;
        this.userId = userId;
        this.animeId = animeId;
        this.score = score;
    }

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAnimeId() {
        return animeId;
    }

    public void setAnimeId(String animeId) {
        this.animeId = animeId;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}